<template>
  <div class="LiveComponent">
    <live v-if="isshow"></live>
    <button @click="showLive">显示/隐藏</button>
  </div>
</template>
<script>
import Live from './Live.vue'
export default {
  components: {
    Live
  },
  data () {
    return {
      isshow: false
    }
  },
  methods: {
    showLive () {
      this.isshow = !this.isshow
    }
  }
}
</script>
<style scoped>
</style>
